<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>小微CRM</title>

    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">

    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="icon" type="image/png" href="/one/Public/i/favicon.png">

    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="/one/Public/i/app-icon72x72@2x.png">

    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="apple-touch-icon-precomposed" href="/one/Public/i/app-icon72x72@2x.png">

    <!-- Tile icon for Win8 (144x144 + tile color) -->
    <meta name="msapplication-TileImage" content="/one/Public/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#0e90d2">

    <link rel="stylesheet" href="/one/Public/css/amazeui.min.css">
    <link rel="stylesheet" href="/one/Public/css/admin.css">

    

    <style>
        .am-topbar .am-text-ir {
            display: block;
            margin-right: 10px;
            height: 50px;
            width: 125px;
            background: url(/one/Public/i/logo.png) no-repeat left center;
            -webkit-background-size: 125px 24px;
            background-size: 125px 24px;
        }
    </style>
</head>
<body>
<header class="am-topbar am-topbar-inverse admin-header">
    <h1 class="am-topbar-brand">
        <a href="#" class="am-text-ir">小微CRM</a>
    </h1>
    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>
    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li><a href="../Interface/CRM/notify_newai.php" class="menu_button"><span class="am-icon-envelope-o"></span> 收件箱 <span class="am-badge am-badge-warning"><?php echo $message;?></span></a></li>
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                    <span class="am-icon-users"></span> <em title="<?php echo session('user_auth.username');?>"><?php echo session('user_auth.username');?></em> <span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
                    <li><a href="<?php echo U('User/updatePassword');?>"><span class="am-icon-cog"></span> 修改密码</a></li>
                    <li><a href="<?php echo U('User/updateNickname');?>"><span class="am-icon-user"></span> 修改昵称</a></li>
                    <script type="text/javascript">
                        function logout() {
                            $('#logout-confirm').modal({
                                relatedTarget: this,
                                onConfirm: function (options) {
                                    parent.parent.location = "<?php echo U('Public/logout');?>";        // 页面跳转
                                },
                                onCancel: function () {
                                    return false;
                                }
                            });
                        }
                    </script>
                    <li><a href="javascript:logout();"><span class="am-icon-power-off"></span> 退出</a></li>
                </ul>
            </li>
            <li class="am-hide-sm-only"><a href="javascript:$.AMUI.fullscreen.toggle();" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">全屏切换</span></a></li>
        </ul>
    </div>
</header>


<div class="am-modal am-modal-confirm" tabindex="-1" id="logout-confirm">
    <div class="am-modal-dialog">
        <div class="am-modal-hd">小微CRM</div>
        <div class="am-modal-bd">
            确定要退出系统吗？
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn" data-am-modal-cancel>取消</span>
            <span class="am-modal-btn" data-am-modal-confirm>确定</span>
        </div>
    </div>
</div>

<div class="am-cf admin-main">
    <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
        <div class="am-offcanvas-bar admin-offcanvas-bar">
            <ul class="am-list admin-sidebar-list">
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#wdzm'}"><span class="am-icon-desktop"></span> 我的办公桌 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="wdzm">
                        <li><a  href="index.php">我的桌面<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
                        <li><a class="menu_button" href="rcap">日程安排</a></li>
                        <li><a class="menu_button" href="gzrw">任务安排</a></li>
                        <li><a class="menu_button" href="rwzx">任务执行</a></li>
                        <li><a class="menu_button" href="../Interface/CRM/workreport_newai.php">工作报告</a></li>
                        <li><a class="menu_button" href="../Interface/CRM/email_newai.php">发送邮件</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/sms_sendlist_newai.php">手机短信</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/callchuli_newai.php">来电处理</a></li>
                        <li><a class="menu_button" href="../Interface/CRM/notify_newai.php">公告通知</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/my_config.php">个人参数配置</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/user_password.php" class="sidemenu">修改密码</a></li>
                    </ul>
                </li>
                <li class="admin-parent am-show-lg-only">
                    <a class="am-cf" data-am-collapse="{target: '#xtgl'}"><span class="am-icon-cog"></span> 系统管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="xtgl">
                        <li><a class="menu_button" href="dwgl" class="am-cf">单位管理</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/department_newai.php" class="am-cf">部门管理</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/UserFramework.php">用户及权限</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/system_interface.php">界面标题栏</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/smsconfig_interface.php">系统参数设置</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/sys_menu_newai.php">父菜单设置</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/sys_function_newai.php">子菜单管理</a></li>
                        <li><a class="menu_button" href="system_infor.php">系统授权信息</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/systemlang_newai.php">系统语言设定</a></li>
                        <li><a class="menu_button" href="../Interface/Framework/systemlang_newai.php">系统日志管理</a></li>
                        <li><a class="menu_button" href="../Interface/CRM/database_setting.php">数据库管理</a></li>
                    </ul>
                </li>
                <li class="admin-parent am-show-lg-only">
                    <a class="am-cf" data-am-collapse="{target: '#jcsj'}"><span class="am-icon-database"></span> 基础数据 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="jcsj">
                        <li><a class="menu_button" href="spgl">商品管理</a></li>
                        <li><a class="menu_button" href="cwlx">财务类型</a></li>
                        <li><a class="menu_button" href="qylx">企业类型</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/stockbease_newai.php">仓库管理</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/fahuotype_newai.php">发贷方式</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/crm_jieduan_newai.php">销售阶段</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/crm_dict_servicetypes_newai.php">服务类型</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#gysgl'}"><span class="am-icon-group"></span> 供应商管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="gysgl">
                        <li><a class="menu_button" href="gys">供应商</a></li>
                        <li><a class="menu_button" href="gyslxr">供应商联系人</a></li>
                        <li class="am-show-lg-only"><a class="menu_button" href="../Interface/JXC/supplyproduct_newai.php">供应商报价管理</a></li>
                        <li class="am-show-lg-only"><a class="menu_button" href="../Interface/JXC/certificate_newai.php">证照情况</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#khgl'}"><span class="am-icon-user-plus"></span> 客户管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="khgl">
                        <li><a class="menu_button" href="khjbxx">客户基本信息</a></li>
                        <li><a class="menu_button" href="khlxr">客户联系人</a></li>
                        <li class="am-show-lg-only"><a class="menu_button" href="jnr">纪念日</a></li>
                        <li class="am-show-lg-only"><a class="menu_button" href="../Interface/CRM/crm_feiyong_sq_newai.php">报销申请</a></li>
                        <li class="am-show-lg-only"><a class="menu_button" href="../Interface/JXC/crm_service_newai.php">客户服务</a></li>
                        <li class="am-show-lg-only"><a class="menu_button" href="../Interface/CRM/inc_crm_tools.php">客户移交</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#cggl'}"><span class="am-icon-cart-arrow-down"></span> 采购管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="cggl">
                        <li><a class="menu_button" href="../Interface/JXC/buyplanmain_newai.php">采购单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/v_buyplanmain_detail_newai.php">采购明细</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#kcgl'}"><span class="am-icon-archive"></span> 库存管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="kcgl">
                        <li><a class="menu_button" href="../Interface/JXC/stockinit_newai.php">库存初始化</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/store_product_newai.php">库存清单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/stockinmain_newai.php"> 入库单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/stockinmain_detail_newai.php">入库明细</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/stockoutmain_newai.php">出库单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/stockoutmain_detail_newai.php">出库明细</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/fahuodan_newai.php">发货单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/storecheck_newai.php">库存盘点单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/stockchangemain_newai.php">库存调拨单</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/productzuzhuang_newai.php">生产组装单</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#xsgl'}"><span class="am-icon-line-chart"></span> 销售管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="xsgl">
                        <li><a class="menu_button" href="xsJH">销售机会</a></li>
                        <li><a class="menu_button" href="gzJL">跟踪记录</a></li>
                        <li><a class="menu_button" href="xqyFA">需求与方案</a></li>
                        <li><a class="menu_button" href="jzCP">竞争产品</a></li>
                        <li><a class="menu_button" href="cpBJ">产品报价</a></li>
                        <li><a class="menu_button" href="xmBB">项目报备</a></li>
                        <li><a class="menu_button" href="htXS">销售合同</a></li>
                        <li><a class="menu_button" href="htjfJH">合同交付计划</a></li>
                        <li><a class="menu_button" href="htjfJL">合同交付记录</a></li>
                        <li><a class="menu_button" href="ddglXS">销售订单</a></li>
                        <li><a class="menu_button" href="ddglMX">订单明细</a></li>
                        <li><a class="menu_button" href="xsdDM">店面型销售单</a></li>
                        <li><a class="menu_button" href="jfDH">积分兑换</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#cwgl'}"><span class="am-icon-cc-visa"></span> 财务管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="cwgl">
                        <li><a class="menu_button" href="../Interface/JXC/bankzhuru_newai.php">资金注入抽取</a></li>
                        <li><a class="menu_button" href="fkglJH">付款计划</a></li>
                        <li><a class="menu_button" href="fkglJL">付款记录</a></li>
                        <li><a class="menu_button" href="fkglSP">收票记录</a></li>
                        <li><a class="menu_button" href="hkglJH">回款计划</a></li>
                        <li><a class="menu_button" href="hkglJL">回款记录</a></li>
                        <li><a class="menu_button" href="hkglKP">开票记录</a></li>
                        <li><a class="menu_button" href="srkzQT">其他收入单</a></li>
                        <li><a class="menu_button" href="srkzZC">费用支出单</a></li>
                        <li><a class="menu_button" href="yfkJL">预付款记录</a></li>
                        <li><a class="menu_button" href="yskJL">预收款记录</a></li>
                        <!--li><a class="menu_button" href="../Interface/JXC/v_accessbank_newai.php">账户操作记录</a></li-->
                        <li><a class="menu_button" href="zhczJL">账户操作记录</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#tjfx'}"><span class="am-icon-pie-chart"></span> 统计分析 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="tjfx">
                        <li><a class="menu_button" href="../Interface/JXC/v_supplyownmoney_newai.php">应付款汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/v_yingshoukuanhuizong_newai.php">应收款汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/xiaoshoubaobiao.php">销售日报</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/customs_ranking_list_newai.php">客户排行</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/salseman_ranking_list_newai.php">导购排行</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/chanpinxiaoshouhuizong.php">产品销售汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/kehusuoyouzhe.php">客户所有者</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/kehuxinzengzoushi.php">客户新增走势</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/gongyingshanggonghuohuizong.php">供应商供货汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/chanpincaigouhuizong.php">产品采购汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/caigouyuanhuizong.php">采购员采购汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/diquduibi.php">地域对比</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/bumenduibi.php">部门对比</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/yueduxiaoshouzoushi.php">月度销售走势图</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/yuedukaizhizoushi.php">月度费用开支走势图</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/tuihuohuizong.php">退货汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/chanpinliudong.php">产品流动表</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/maolihuizong.php">毛利汇总</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/xiaoshouloudou.php">销售漏斗</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/yuedulirunzoushi.php">月度利润走势图</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/kucunbaojing.php">库存报警</a></li>
                        <li><a class="menu_button" href="../Interface/JXC/v_yingkaipiaohuizong_newai.php">应开票汇总</a></li>
                    </ul>
                </li>
                <li class="admin-parent">
                    <a class="am-cf" data-am-collapse="{target: '#rlzy'}"><span class="am-icon-eye"></span> 人力资源 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="rlzy">
                        <li><a class="menu_button" href="xzglKQ">考勤明细</a></li>
                        <li><a class="menu_button" href="rsglDA">人事档案</a></li>
                        <!--li><a class="menu_button" href="gbcpCY">测评干部</a></li>
                        <li><a class="menu_button" href="gbcpWD">我的测评</a></li-->
                    </ul>
                </li>
                <li class="admin-parent am-show-lg-only">
                    <a class="am-cf" data-am-collapse="{target: '#hqgl'}"><span class="am-icon-cubes"></span> 后勤管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                    <ul class="am-list am-collapse admin-sidebar-sub" id="hqgl">
                        <li><a class="menu_button" href="bgypQD">办公用品清单</a></li>
                        <li><a class="menu_button" href="bgypJL">办公用品借领</a></li>
                        <li><a class="menu_button" href="bgypRK">办公用品入库</a></li>
                        <li><a class="menu_button" href="bgypDB">办公用品调拨</a></li>
                        <li><a class="menu_button" href="bgypBF">办公用品报废</a></li>
                        <li><a class="menu_button" href="gdzcQD">固定资产清单</a></li>
                        <li><a class="menu_button" href="gdzcBF">固定资产报废</a></li>
                    </ul>
                </li>
            </ul>
            <div class="am-panel am-panel-default">
                <div class="am-panel-footer">
                    <p><span class="am-icon-bookmark"></span> 时间</p>
                    <script type="text/javascript" src='/one/Public/clock.js'></script>
                </div>
            </div>
        </div>
    </div>
    <div class="admin-content">
        
    sdfsdfsdf

    </div>
    <!-- content end -->
</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/one/Public/js/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/one/Public/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="/one/Public/js/amazeui.min.js"></script>

</body>
</html>